package top.toptimus.dto.saleStyle;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 货号定义
 *
 * @author gaoyu
 */
@Data
@NoArgsConstructor
public class SaleInventoryNoDefinitionDTO {
    private String saleInventoryId;
    private Integer inventorySuffix; //  货号后缀
    private Integer refInventorySuffix; //  参考货号后缀
    private String saleStyleId; //  销售款式id  top.toptimus.style.dao.SaleStyleDao.id
    private String saleStyleCode;   //  款号，销售定义 top.toptimus.style.dao.SaleStyleDao.saleStyleCode
    //  可以标识是否可以定制
    private Boolean customMade;
    //  商品来源，外购、自制、代工
    private String inventorySource;

    public SaleInventoryNoDefinitionDTO(
            String saleInventoryId,
            Integer inventorySuffix,
            Integer refInventorySuffix,
            String saleStyleId,
            String saleStyleCode,
            Boolean customMade,
            String inventorySource
    ) {
        this.saleInventoryId = saleInventoryId;
        this.inventorySuffix = inventorySuffix;
        this.refInventorySuffix = refInventorySuffix;
        this.saleStyleId = saleStyleId;
        this.saleStyleCode = saleStyleCode;
        this.customMade = customMade;
        this.inventorySource = inventorySource;
    }
}
